import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';

///@date:  2021/2/23 17:09
///@author:  lixu
///@description: Toast相关配置
class ToastConfig {
  ///字体大小
  double fontSize;

  ///显示位置
  ToastGravity gravity;

  ///背景
  Color backgroundColor;

  ///文字颜色
  Color textColor;

  ToastConfig.obtain({this.fontSize, this.gravity, this.backgroundColor, this.textColor});
}
